package com.ferry.example.spring;

import org.springframework.beans.factory.BeanNameAware;

/**
 * Created by daiyong
 */
public class Person implements BeanNameAware {

	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public void setBeanName(String name) {
		System.out.println(name);
	}
}
